﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SearchClassRoomList.aspx.cs" Inherits="CourseListManagement_SearchClassRoomList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Css/ys.css"rel="stylesheet" type="text/css" />
  <script src="../Js/jquery-1.4.2.min.js" type="text/javascript"></script>
      <script src="../Js/tablehover.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function SetSelectedCoursewareId(sid,name) {

            opener.openModelWin(sid, name, "SearchClassRoomList.aspx");
           window.close();
       }
     
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin-left: 5px">
        <div class="title">
            <div class="titleLeft">
                 教室查看</div>
        </div>
            <div id="search" class="search2">
       <table cellspacing="1" cellpadding="3" border="0" >
    <tr>
    <td td class="noWrapTD">查找教室</td><td>
    <asp:TextBox runat="server" ID="txtroomName" CssClass="inp1" ></asp:TextBox></td>
    <td><asp:Button runat="server" ID="btnfind" Text="搜索"  CssClass="button" 
            onclick="btnfind_Click"/></td><td>&nbsp; &nbsp;</td>
  </tr></table></div>
   <br class="sp3px" />
         <table class="tab_alt" style="width: 100%" cellpadding="0" cellspacing="0">
                    <tr class="header">
      <td class="noWrapTD">操作</td>
        <td class="noWrapTD">选择教室</td>    
        <td class="noWrapTD">教室列表</td>
        <td class="noWrapTD">教室编号</td>
        <td class="noWrapTD">教室状态</td>
        </tr>
        <asp:Repeater ID="Repeater1" runat="server">
        
      
        <ItemTemplate>
  <tr class="<%# Container.ItemIndex%2==1?"odd":"" %>"> 
        <td class="ta2"><input id="btnAdd" type="button"  value="确定" class="button2"onclick="SetSelectedCoursewareId('<%#Eval("ID")%>','<%#Eval("vr_roomName") %>');"/></td>
        <td class="ta2"><%#Eval("vr_roomName") %></td>
        <td class="ta2"><%#Eval("vr_roomCode") %></td>
        <td class="ta2"><%#Eval("VR_state")%></td>
        </tr>
        </ItemTemplate>
        
        </asp:Repeater>
 </table>
    </div>
     <br class="sp3px" />
     <webdiyer:aspnetpager ID="pager" runat="server" 
                onpagechanged="pager_PageChanged" CssClass="anpager" 
            CurrentPageButtonClass="cpb">
            </webdiyer:aspnetpager>
            <asp:HiddenField ID="hidCoursewareIdList" runat="server"  Value=""/>
    </div>
    </form>
</body>
</html>
